package com.jiantong.work.service;

import com.jiantong.work.model.RetailBreedRecord;
import io.terminus.common.model.Response;

/**
 * Created by mz on 25/7/17.
 *
 */
public interface RetailBreedRecordWriteService {

    /**
     * 新建散养户的养殖档案单据
     * @param retailBreedRecord 单据对象
     * @param toStatus 到状态
     * @return Long
     */
    Response<Long> create(RetailBreedRecord retailBreedRecord , Integer toStatus);

    /**
     * 更新散养户的养殖档案单据
     * @param retailBreedRecord 单据对象
     * @param toStatus 到状态
     * @return Boolean
     */
    Response<Boolean> update(RetailBreedRecord retailBreedRecord , Integer toStatus);
}
